home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr11 / vc1wxf.zip / README.TXT < prev    next >
Text File  |  1993-06-05  |  4KB  |  80 lines

  1. ======================================================================
  2.                   Increased File Handle Libraries
  3. ======================================================================
  4.  
  5.  --------------------------------------------------------------------
  6. | INFORMATION PROVIDED IN THIS DOCUMENT AND ANY SOFTWARE THAT MAY    |
  7. | ACCOMPANY THIS DOCUMENT (collectively referred to as an            |
  8. | Application Note) IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY      |
  9. | KIND, EITHER EXPRESSED OR IMPLIED, INCLUDING BUT NOT LIMITED TO    |
  10. | THE IMPLIED WARRANTIES OF MERCHANTABILITY AND/OR FITNESS FOR A     |
  11. | PARTICULAR PURPOSE. The user assumes the entire risk as to the     |
  12. | accuracy and the use of this Application Note. This Application    |
  13. | Note may be copied and distributed subject to the following        |
  14. | conditions: 1) All text must be copied without modification and    |
  15. | all pages must be included; 2) If software is included, all files  |
  16. | on the disk(s) must be copied without modification (the DOS        |
  17. | utility DISKCOPY is appropriate for this purpose); 3) All          |
  18. | components of this Application Note must be distributed together;  |
  19. | and 4) This Application Note may not be distributed for profit.    |
  20. |                                                                    |
  21. | Copyright 1991 Microsoft Corporation. All Rights Reserved.         |
  22. | Microsoft and the Microsoft logo are registered trademarks of      |
  23. | Microsoft Corporation.                                             |
  24.  --------------------------------------------------------------------
  25.  
  26. The enclosed Increased File Handle Libraries for Microsoft Visual C++ 
  27. 1.0 contain the following 13 files:
  28.  
  29.    README.TXT   - File containing instructions on use of these .LIBs
  30.    S40FILE.LIB  - Small model, assembled for 40 handles and streams
  31.    M40FILE.LIB  - Medium model, assembled for 40 handles and streams
  32.    C40FILE.LIB  - Compact model, assembled for 40 handles and streams
  33.    L40FILE.LIB  - Large model, assembled for 40 handles and streams
  34.    S60FILE.LIB  - Small model, assembled for 60 handles and streams
  35.    M60FILE.LIB  - Medium model, assembled for 60 handles and streams
  36.    C60FILE.LIB  - Compact model, assembled for 60 handles and streams
  37.    L60FILE.LIB  - Large model, assembled for 60 handles and streams
  38.    S100FILE.LIB - Small model, assembled for 100 handles and streams
  39.    M100FILE.LIB - Medium model, assembled for 100 handles and streams
  40.    C100FILE.LIB - Compact model, assembled for 100 handles and streams
  41.    L100FILE.LIB - Large model, assembled for 100 handles and streams
  42.  
  43. The library files in this package are not complete C libraries. These
  44. libraries only contain three files: CRT0DAT.OBJ, FILE.OBJ, and 
  45. WFILE.OBJ. These are the .OBJs that need to be rebuilt in order to 
  46. increase both file handles and streams in Windows (and QuickWin) 
  47. .EXEs.
  48.  
  49. These libraries may be used two different ways.
  50.  
  51.     1) They may be linked in as .OBJ files. When listing .OBJ files on
  52.        the link command line, include the appropriate library. The /NOE
  53.        option will need to be used also. Here are example compile and
  54.        link statements using this method:
  55.  
  56.           CL /AS /c TEST.c
  57.           LINK TEST.OBJ + S40FILE.LIB /NOE, TEST.EXE;
  58.  
  59.     2) Replace the module in your combined library with these rebuilt
  60.        modules. This will permanently change your combined libraries.
  61.        Here are the sample LIB commands needed to change SLIBCE.LIB:
  62.  
  63.           LIB S40FILE.LIB *CRT0DAT.OBJ *FILE.OBJ *WFILE.OBJ;
  64.           LIB SLIBCE.LIB -+CRT0DAT.OBJ -+FILE.OBJ -+WFILE.OBJ;
  65.  
  66. File handles may also be increased by following the instructions 
  67. starting on page 40 of the Run-Time Library Reference that shipped 
  68. with Visual C++1.0 and the C/C++ 7.0 compiler. These instructions 
  69. require MASM version 6.0 or 6.1.
  70.  
  71. Programs built with these modified libraries will not run on computers
  72. running a version of MS-DOS eariler than version 3.3.  
  73.  
  74. While Microsoft provides the run-time source so changes like this can
  75. be made, Microsoft does not support these changes.
  76.  
  77. These files are provided for convenience of Microsoft C users, and are
  78. provided without any support. Any questions about their use should be
  79. directed to the CIS MSLANG forum.
  80.